﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportHuKuanZhiPiao4EasyUI.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.FTradeModel.ReportHuKuanZhiPiao4EasyUI" %>


<%--回款指标--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../EasyUI/themes/default/easyui.css"/>
	<link rel="stylesheet" type="text/css" href="../EasyUI/themes/icon.css" />
	<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>   
	<script type="text/javascript" src="../EasyUI/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../EasyUI/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../EasyUI/easyui-formatter_20140718.js"></script>
     <link href="../themes/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <script src="../js/DWZ/jquery.autocomplete.js" type="text/javascript"></script>
<%--
    <script type="text/javascript">
       
        //权限处理
        var $powers={
            "r查看":<%=HasPowerEasyUI(IHISCETeim.Web.Permission.查看) %> 
        };

        $(document).ready(function () {
            var $tab_toolbar=$("#tab_toolbar");
            $tab_toolbar.find("a").each(function(){
                var $per=$(this).attr("Permission");
                var pt= $powers[$per]==undefined || null?true:$powers[$per];
                $(this).linkbutton(pt?'enable': 'disable');
            })
           
            //加载数据
            InitGird();           
        })
        //加载列表数据
        function InitGird() {
            $('#dg').datagrid({    
                title:"",       
                url: location.href, //请求数据的页面
                sortName: '经销商', //排序字段
                sortOrder: 'desc', //排序类型
                idField: '经销商', //标识字段,主键
                iconCls: '', //标题左边的图标
                width: '100%', //宽度    
                height: $(parent.document).find(".tabsPageContent").height() - 11 > 0 ? $(parent.document).find(".tabsPageContent").height() - 11 : 500,
                nowrap: false, //是否换行，True 就会把数据显示在一行里
                striped: true, //True 奇偶行使用不同背景色
                collapsible: false, //可折叠
                singleSelect: true, //是否只能选中一条
                remoteSort: true, //定义是否从服务器给数据排序
                frozenColumns: [[//冻结的列，不会随横向滚动轴移动
                    {title:'经销商',field:'经销商',width: 100,sortable:true, rowspan:2},                	
                    { title: '应收帐款总额', field: '应收帐款总额', width: 110, rowspan:2,formatter:milliformatter},                  
				]],
                columns: [ 
                    [
                       {title:'应收帐款总额分解',colspan:4},

                       {title:'到期款总额',field: '到期款总额',rowspan:2, width: 110,formatter:milliformatter},

                       {title:'30天内<%=GetTableColumTag(0) %>',colspan:4,name:"30"},
                       {title:'31~60天<%=GetTableColumTag(-1) %>',colspan:4},
                       {title:'61~90天<%=GetTableColumTag(-2) %>',colspan:4}, 
                       {title:'91~120天<%=GetTableColumTag(-3) %>',colspan:4}, 
                       {title:'121~150天<%=GetTableColumTag(-4) %>',colspan:4}, 
                       {title:'151~180天<%=GetTableColumTag(-5) %>',colspan:4},  
                       {title:'180天以上',colspan:4},
                    ],                
                    [
                        { title: '短期分期', field: '应收帐款总额_短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '应收帐款总额_置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '应收帐款总额_首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '应收帐款总额_一般销售', width: 80,formatter:milliformatter},  

                        { title: '短期分期', field: '到期30天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期30天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期30天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期30天一般销售', width: 80,formatter:milliformatter}, 

                        { title: '短期分期', field: '到期60天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期60天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期60天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期60天一般销售', width: 80,formatter:milliformatter}, 

                        { title: '短期分期', field: '到期90天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期90天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期90天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期90天一般销售', width: 80,formatter:milliformatter}, 

                        { title: '短期分期', field: '到期120天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期120天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期120天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期120天一般销售', width: 80,formatter:milliformatter},

                        { title: '短期分期', field: '到期150天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期150天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期150天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期150天一般销售', width: 80,formatter:milliformatter}, 

                        { title: '短期分期', field: '到期180天短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期180天置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期180天首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期180天一般销售', width: 80,formatter:milliformatter},

                        { title: '短期分期', field: '到期180天以上短期分期', width: 80,formatter:milliformatter},
                        { title: '置换分期', field: '到期180天以上置换分期', width: 80,formatter:milliformatter},
                        { title: '首付代垫', field: '到期180天以上首付代垫', width: 80,formatter:milliformatter},
                        { title: '一般销售', field: '到期180天以上一般销售', width: 80,formatter:milliformatter}
                    ]
                    
                ],
                toolbar: "#tab_toolbar",
                queryParams: { "action": "query" },
                pagination: false, //是否开启分页
                pageNumber: 1, //默认索引页
                pageSize: <%=numPerPage %>, //默认一页数据条数
                pageList:<%=SetnumPerPage() %>,
                rownumbers: true, //行号
                showFooter: true                
            });

        }       
       
      
        
    </script>
    <script>
        //操作功能JS

        //导出管控表
        function onExportList() {

            //  var href = "ExportExecl/ExportExeclUClaimDemageControlList.aspx?" + jQuery.param($("#tab_search").serializeJSON());
            //  top.window.open(href, "");
            return false;
        }
       

    </script>--%>
</head>
<body style="margin:1px;" >
    <div style=" margin-top:30px; margin-left:30px; font-size:12px;">
        请下载《<a href="应收帐款回款指标.xlsm">应收款款回款指标模板表</a>》进行查看.
    </div>
   <%-- <div id="dg">
        
    </div>
    <div id="tab_toolbar" style="padding:2px;">  
        <span></span>
       <a href="#"  class="easyui-linkbutton" iconcls="icon-btnDown" plain="true" onclick="return onExportList();" Permission="r导出">导出</a>
    </div>   --%>
    
</body>
</html> 